/**
 * 2015，thor.com，all rights reserved。
 * 
 * Project：		tenant-client
 * Filename：	TResponse.java
 * Created：		2015年11月27日
 * Creator：		thor
 */
package com.thor.palmmall.spi.common;

import java.io.Serializable;

/**
 * @author thor
 *
 */
public class SResponse<T extends Object> implements Serializable {
	private static final long serialVersionUID = 1451362099803430297L;

	private boolean success;
	private int statusCode;
	private String message;
	private T body;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}
}
